package org.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class TalentsListLikeVO {
    private Integer tId;
    private Integer tAge;
    private String tName;
    private String tSex;
    private String tStudy;
    private String tPhone;
    private String tStatus;
    private String tImg;
    @DateTimeFormat(pattern = "yyyy-MM-dd")  //处理前端传过来的参数格式转换
    @JsonFormat(pattern = "yyyy-MM-dd")  //要将一个日期类型以指定格式显示
    private String tFirstDate;
    private String tJob;
    private String tSalary;

    public TalentsListLikeVO() {
    }

    public TalentsListLikeVO(Integer tId, Integer tAge, String tName, String tSex, String tStudy, String tPhone, String tStatus, String tImg, String tFirstDate, String tJob, String tSalary) {
        this.tId = tId;
        this.tAge = tAge;
        this.tName = tName;
        this.tSex = tSex;
        this.tStudy = tStudy;
        this.tPhone = tPhone;
        this.tStatus = tStatus;
        this.tImg = tImg;
        this.tFirstDate = tFirstDate;
        this.tJob = tJob;
        this.tSalary = tSalary;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Integer gettAge() {
        return tAge;
    }

    public void settAge(Integer tAge) {
        this.tAge = tAge;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String gettSex() {
        return tSex;
    }

    public void settSex(String tSex) {
        this.tSex = tSex;
    }

    public String gettStudy() {
        return tStudy;
    }

    public void settStudy(String tStudy) {
        this.tStudy = tStudy;
    }

    public String gettPhone() {
        return tPhone;
    }

    public void settPhone(String tPhone) {
        this.tPhone = tPhone;
    }

    public String gettStatus() {
        return tStatus;
    }

    public void settStatus(String tStatus) {
        this.tStatus = tStatus;
    }

    public String gettImg() {
        return tImg;
    }

    public void settImg(String tImg) {
        this.tImg = tImg;
    }

    public String gettFirstDate() {
        return tFirstDate;
    }

    public void settFirstDate(String tFirstDate) {
        this.tFirstDate = tFirstDate;
    }

    public String gettJob() {
        return tJob;
    }

    public void settJob(String tJob) {
        this.tJob = tJob;
    }

    public String gettSalary() {
        return tSalary;
    }

    public void settSalary(String tSalary) {
        this.tSalary = tSalary;
    }
}
